package org.goobs.internet;

public class Hyperlink {

	private String url;
	private String text;
	
	protected Hyperlink(String url, String text){
		this.url = url;
		this.text = text;
	}
	
	public String getURL(){
		return url;
	}
	
	public String getText(){
		return text;
	}
	
	public String toString(){
		return text + " (href=\"" + url + "\")";
	}
	
}
